package app.service;

import java.util.List;

import app.dao.IUserDao;
import app.model.Tbluser;

public interface IUserService {

	public abstract void setUserDao(IUserDao dao);

	public abstract void addUsers(Tbluser user) throws Exception;
	
	public abstract void delUser(int id) throws Exception;
	
	public abstract void updateUser(Tbluser user) throws Exception;
	
	public abstract Tbluser find(String rolename)throws Exception;
	
	public abstract List<Tbluser> findAll() throws Exception;

}